package com.rfid.entityMapper;

import com.entitymapper.field.FieldMapperToWrite;
import com.entitymapper.field.ResultSet;
import com.teatrace.model.Product;

public class ProductFieldMapperToWrite implements FieldMapperToWrite{
	@Override
	public void mappering(ResultSet rs, Object object) {
		Product product = (Product) object;
		rs.setValue("productNum", product.getProductNum());
		rs.setValue("name", product.getName());
	}

}
